<?php
/*
 * @Author       : chaihao
 * @Date         : 2020-06-01 10:58:11
 * @FilePath     : /ai/models/Seattimeline.php
 */

namespace app\models;

use Yii;

/**
 * This is the model class for table "pltf.seattimeline".
 *
 */
class Seattimeline extends \yii\db\ActiveRecord
{
    const DEFAULT_STATUS_IN = 1; // 进入
    const DEFAULT_STATUS_DOWN = 5; // 坐下
    const DEFAULT_STATUS_VALUE = [
        1 => '进入',
        2 => '离开',
        3 => '踢出',
        4 => '在房间内',
        5 => '坐下',
        6 => '未选座的情况下离开',
    ];
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return '`pltf.seattimeline`';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    { }
}
